package com.example.administrator.meishi;

import android.app.Application;

import com.example.administrator.meishi.tools.OkHttpClientUtils;

/**
 * Created by Administrator on 2016-9-19.
 */
public class MyApplication extends Application {

    private OkHttpClientUtils okHttpClientUtils;

    @Override
    public void onCreate() {
        super.onCreate();
        initOkHttpClient();//调用初始化OkHttpClient对象方法
    }

    //
    private void initOkHttpClient() {
        okHttpClientUtils = OkHttpClientUtils.getOkHttpClientUtils(this);
    }
}
